package com.briup.estore.service;

import com.briup.estore.bean.Customer;
import com.briup.estore.extException.ExtException;
import com.briup.estore.result.Result;

public interface ICustomerService {

	/**
	 * 注册一名用户信息
	 * 
	 * @param customer 用户信息包含所有信息
	 * @return
	 * @throws Exception
	 */
	public Result registerCustomer(Customer customer) throws Exception;

	/**
	 * 使用用户名和密码登录
	 * 
	 * @param customer
	 * @return
	 * @throws ExtException
	 * @throws Exception
	 */
	public Result loginCustomer(Customer customer) throws ExtException, Exception;
}
